import type { IUrlParams } from "../types/axios.t";

// 链接地址
const CONNECT: Record<any, IUrlParams> = {
  development: {
    // baseUrl: "http://192.168.0.181:3000"
    baseUrl: "http://192.168.0.190:8101"
  },
  test: {
    baseUrl: "http://39.99.223.47:19090/pcapi"
  },
  production: {
    baseUrl: "http://47.92.240.221:9090/pcapi"
  }
};

export default CONNECT[import.meta.env.MODE as any] as IUrlParams;
